package com.fw.ui.view;

import org.springframework.beans.factory.InitializingBean;

import com.vaadin.ui.Panel;

public abstract class AbstractPanel extends Panel implements InitializingBean {

    private static final long serialVersionUID = -5039413410093632163L;

    public void afterPropertiesSet() throws java.lang.Exception {
	this.init();
	this.initListener();
	this.initValidator();
	this.initData();
	this.updateStrings();
    }

    public abstract void init();

    public abstract void initListener();

    public abstract void initValidator();

    public abstract void initData();

    public abstract void updateStrings();

}
